package demo25;

import java.util.concurrent.*;

public class use_official_tp {
    public static void main(String[] args) {
        ExecutorService e = new ThreadPoolExecutor(
                10, 10, 0, TimeUnit.SECONDS,
                new ArrayBlockingQueue<>(10)
        );
        e.execute(new Runnable() {
            @Override
            public void run() {

            }
        });

        e.shutdown();
    }
}
